package com.ml.mall.bean.res.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * Created by kyyang on 2021/1/20 22:12
 */
@Data
public class SysUserRes {
    private Long id;

    private String acc;

    @ApiModelProperty(value="角色类型：用于区分四种类型：1：管理员；2合作商 ；3：卖家；4买家",example = "1")
    private Integer roleType;

    @ApiModelProperty(value="名称")
    private String name;

    @ApiModelProperty(value="邮箱")
    private String email;

    @ApiModelProperty(value="状态：0正常 1禁用",example = "1")
    private Integer state;

    @ApiModelProperty(value="最新登陆时间")
    private Date lastLoginAt;

    @ApiModelProperty(value = "角色名")
    private String roleName;
}
